//
//  HCLogConstants.h
//  HCLog
//
//  Created by 韩昌 on 2017/7/11.
//  Copyright © 2017年 Han Chang. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_OPTIONS(NSUInteger, HCLogFlag){
    
    HCLogFlagError      = (1 << 0),
    
    HCLogFlagWarning    = (1 << 1),
    
    HCLogFlagInfo       = (1 << 2),
    
    HCLogFlagDebug      = (1 << 3),
    
    HCLogFlagVerbose    = (1 << 4)
};

typedef NS_ENUM(NSUInteger, HCLogLevel){
    
    HCLogLevelOff       = 0,
    
    HCLogLevelError     = (HCLogFlagError),
    
    HCLogLevelWarning   = (HCLogFlagWarning | HCLogLevelError),
    
    HCLogLevelInfo      = (HCLogFlagInfo    | HCLogLevelWarning),
    
    HCLogLevelDebug     = (HCLogFlagDebug   | HCLogLevelInfo),
    
    HCLogLevelVerbose   = (HCLogFlagVerbose | HCLogLevelDebug),
    
    HCLogLevelAll       = NSUIntegerMax
};
